package com.ghca.myinfo3.common.eneity;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/12/24.
 */
public class BJUIResponse implements Serializable{

    public static final BJUIResponse OK = new BJUIResponse(200, "success");

    private int statusCode;

    private String message;

    private String datagrid;

    public BJUIResponse(int statusCode, String message) {
        setStatusCode(200);
        setMessage(message);
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getDatagrid() {
        return datagrid;
    }

    public void setDatagrid(String datagrid) {
        this.datagrid = datagrid;
    }
}
